-
-
Notifications
You must be signed in to change notification settings - Fork 245
[SeongA] WEEK 07 solutions #1884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -0,0 +1,61 @@ | |||
class Solution { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저와는 다른 접근법으로 푸셔서 많이 배워갑니다..!!! 공간 복잡도나 시간 복잡도를 올려주셔도 좋을 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
추가하였습니다!!
@@ -0,0 +1,26 @@ | |||
class Solution { | |||
// Time complexity O(N) | |||
// Space complexity O(min(m,n)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let charArray = Array(s)를 하고 있기 때문에 공간 복잡도에서 무조건 String의 길이는 사용이 될거라 O(n) 이지 않을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다시 보니 그러네요!! 아직 복잡도 계산하는 데 익숙치않아서 클로드의 도움을 받았는 데, 한 번 더 유심히 봐야겠어요. 감사합니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7주차 문제 풀이 고생하셨습니다!
코드 리뷰도 진행 잘 되어있고 너무 감사합니다!
답안 제출 문제
작성자 체크 리스트
In Review
로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!